package com.generator.marketManage.orderVerify.dao;

import com.generator.marketManage.orderVerify.pojo.Order;
import com.generator.marketManage.orderVerify.pojo.OrderCondition;
import com.generator.marketManage.orderVerify.pojo.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderVerifyMap {

//    条件查询订单
    public List<Order> queryOrder(OrderCondition condition);

//    根据订单id查询订单明细
    public List<OrderDetail> queryOrderDetailById(OrderDetail orderDetail);

//    修改订购单审核信息
    public Integer updateOpinion(Order order);
}
